//
//  SERegistrationChooseNumCell.swift
//  SmartEyeForPatient
//
//  Created by qdsg on 2021/4/6.
//

import UIKit

class SERegistrationChooseNumCell: UICollectionViewCell {

    static let className = "SERegistrationChooseNumCell"
    static let reuseId = className

    @IBOutlet weak var numLabel: UILabel!
    @IBOutlet weak var timeLabel: UILabel!

    override func awakeFromNib() {
        super.awakeFromNib()
        setUI()
    }

    func setUI() {
        layer.cornerRadius = 4
        layer.masksToBounds = true
    }

    func updateCell(model: SERegistrationNumItem) {
        numLabel.text = "第\(model.number)号"
        timeLabel.text = model.sourceTime
    }
}
